.process-icon {
  width: 64px;
  height: 64px;
  cursor: move;
  position: absolute;
}

[process-type] {
  background-repeat: no-repeat;
  padding: 5px 0px 0px 36px;
  -margin: 8px 0px 8px 5px; /*修复拖拽线条以及任务框不对齐*/
  border: 2px solid transparent;
}

[process-type=startevent-none] {
  background-image: url(./images/48/start_event_empty.png);
}

.process-node {
  -border: 1px solid rgb(52, 103, 137);
  border-radius: 6px 6px 6px 6px;
  width: 56px;
  height: 56px;
}

[process-type=startevent-timer] {
  background-image: url(./images/startevent/timer.svg);
}

[process-type=endevent-none] {
  background-image: url(./images/48/end_event_terminate.png);
}

[process-type=endevent-cancel] {
  background-image: url(./images/endevent/cancel.svg);
}

[process-type=gateway-exclusive] {
  background-image: url(./images/48/gateway_exclusive.png);
}

[process-type=gateway-inclusive] {
  background-image: url(./images/48/gateway_exclusive.png);
}

/*join 网关暂时使用包含网关的图片*/
[process-type=gateway-join] {
  background-image: url(./images/48/gateway_parallel.png);
}

[process-type=gateway-fork] {
  background-image: url(./images/48/gateway-fork.png);
}

.panel-body.task {
  background-image: url(./images/task/call_activity_task.png);
}

.ep {
  position: absolute;
  bottom: 37%;
  right: 6px;
  width: 14px;
  height: 14px;
  background-color: transparent;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #94c14f;
}

path, .jsplumb-endpoint {
  cursor: pointer;
}

.component {
  border: 1px solid #346789;
  border-radius: 0.5em;
  opacity: 0.8;
  filter: alpha(opacity=80);
  background-color: white;
  color: black;
  padding: 0.5em auto;
  padding-top: 0px;
  padding-bottom: 0px;
  color: rgb(57, 57, 57);
  font-family: verdana, 'ms song', Arial, Helvetica, sans-serif;;
  line-height: 21px;
  background-color: rgb(250, 247, 239)
}

.component:hover {
  border: 1px solid #123456;
  box-shadow: 2px 2px 19px #444;
  -o-box-shadow: 2px 2px 19px #444;
  -webkit-box-shadow: 2px 2px 19px #444;
  -moz-box-shadow: 2px 2px 19px #fff;
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.process-node-select {
  border: 2px solid red;
}

.user-task {
  border: 1px solid rgb(52, 103, 137);
  border-radius: 6px 6px 6px 6px;
  background: #f6f7ff;
  width: 120px;
  height: 60px;
  padding-left: 0;
  padding-top: 0;
}

.user-task > .task-inner-text {
  height: 100%;
  width: 80%;
  text-align: center;
}

.process-node-select.user-task {
  border: 2px solid red;
}

/*flowAdd  css start*/
.attr-panel {
  position: fixed;
  width: 80%;
  bottom: -20px;
  right: 25px;
}

.attr-panel .panel-body {
  height: 200px;
  max-height: 200px;
  overflow-y: scroll;
}

.attr-panel .form-horizontal label:after {
  content: ":";
}

/*label:after{
	content: ":";
}*/

.attr-panel .row + .row {
  margin-top: 10px;
}

.field-not-allowblank, select.field-not-allowblank + span .select2-selection {
  padding-left: 14px;
  background-image: url(./images/not-allowblank.png);
  background-position: left;
  background-repeat: no-repeat;
}

/*flowAdd css end*/

.connection-label {
  background-color: white;
  opacity: 0.8;
  padding: 0.3em;
  border-radius: 0.5em;
  border: 1px solid #346789;
  cursor: pointer;
}

.search-box label {
  margin-top: 5px;
  padding-right: 0;
  text-align: right;
}

.search-box .dash {
  float: left;
  margin-left: 2px;
  margin-right: 2px;
  margin-top: 4px;
}

.search-box label:after {
  content: ':';
}

.top5 {
  margin-top: 5px;
}

/*放入到左边菜单后的兼容css*/
.container {
  margin-left: 0;
  margin-right: 0;
  width: 100% !important;
}

.margin-lr-10 {
  margin-left: 10px;
  margin-right: 10px;
}

.margin-lr-0 {
  margin-left: 0;
  margin-right: 0;
}

table.attachment-list td, table.attachment-list th {
  font-size: 12px !important;
}

.overflowAuto {
  overflow: auto !important;
}

.upload-div, .download-div {
  padding-left: 0;
  padding-right: 0;
  float: left;
}

.download-div {
  margin-left: 10px;
}

.height29 {
  height: 29px;
}

.container {
  margin-top: 10px;
}

.task-detail-container {
  margin-right: 40px;
  position: relative;
}

#taskDetailTable {
  font-size: 12px;
}

.task-detail-container .btn-detail {
  position: absolute;
  right: -20px;
  top: 60px;
  font-size: 16px;
}

h4.margin-top0 {
  margin-top: 0;
}

#searchBox {
  margin-bottom: 10px;
}

#searchBox .panel-heading {
  padding-top: 5px;
  padding-bottom: 5px;
}

/*taskDetail start*/
#taskDetailTable {
  table-layout: fixed;
  width: 100%;
  white-space: normal;
}

#taskDetailTable td {
  white-space: normal;
  -ms-word-break: break-all;
  word-break: break-all;
}

#taskDetailTable .operator {
  width: 10%;
}

#taskDetailTable .result {
  width: 10%;
}

#taskDetailTable .operator-task {
  width: 10%;
}

#taskDetailTable .opinion {
  width: 30%;
}

#taskDetailTable .duration {
  width: 10%;
}

#taskDetailTable .operator-time {
  width: 15%;
}

/*taskDetail end*/

/*dynamicDetail start*/
#dynamicDetailTable {
  table-layout: fixed;
  width: 100%;
  white-space: normal;
  font-size: 12px !important;
}

#dynamicDetailTable td {
  white-space: normal;
  -ms-word-break: break-all;
  word-break: break-all;
}

#dynamicDetailTable .operator {
  width: 10%;
}

#dynamicDetailTable .task-display-name {
  width: 20%;
}

#dynamicDetailTable .field-label {
  width: 10%;
}

#dynamicDetailTable .before-value-text {
  width: 10%;
}

#dynamicDetailTable .after-value-text {
  width: 10%;
}

/*dynamicDetail end*/

/*attachment start*/
.attachment-list {
  table-layout: fixed;
  width: 100%;
  white-space: normal;
  font-size: 12px !important;
}

.attachment-list td {
  white-space: normal;
  -ms-word-break: break-all;
  word-break: break-all;
}

.attachment-list .user {
  width: 20%;
}

.attachment-list .filename {
  width: 30%;
}

.attachment-list .operator {
  width: 50%;
}

/*attachment end*/


.modified-detail-container {
  margin-right: 40px;
  position: relative;
}

.modified-detail-container .btn-detail {
  position: absolute;
  right: -20px;
  top: 60px;
  font-size: 16px;
}

hr {
  margin-top: 10px;
}

/**/

.popover-content {
  font-size: 12px;
}

.popover-content .approval-detail-label {
  margin-right: 5px;
}

/**显示流程名*/
.diagram-container .text-center {
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

/**流程图背景图例*/
.diagram-container .legend {
  float: right;
  margin: -30px 20px 0 0;
}

.diagram-container .legend span {
  display: inline-block;
  width: 30px;
  height: 15px;
}

.diagram-container .legend label {
  margin-right: 6px;
}

.diagram-container .legend .unfinish {
  background-color: #D6D8D9
}

.diagram-container .legend .finish {
  background-color: #499ACF; /*#D5EDDA;*/
}

.diagram-container .legend .current {
  background-color: #00FF00; /*#FFFEAE*/;
}

.diagram-container .legend .refuse {
  background-color: #d9534f;
}

input[name=createStartDate], input[name=createEndDate], input[name=finishStartDate], input[name=finishEndDate] {
  width: 105px !important;
}

.approval-detailview-p {
  margin-bottom: 5px;
}

.approval-detailview-b {
  margin-right: 10px;
}

.diagram-container {
}

.diagram-container .wf_canvas {
  border-radius: 0px;
  outline: 0;
  border: 1px solid #C8C8C8;
  margin: 0px;
  box-shadow: 0 0 0;
  background: #fafafa;
  cursor: default;
  position: relative;
  touch-action: none;
  overflow: auto;
}
